/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controller;

import model.Game;
import util.Difficulty;
import util.Movement;
import util.MovementNotAllowedException;


/**
 *
 * @author comercio
 */
public class DefaultController extends AbstractController {
    private Game gameModel;

  public void setGameModel(Game game){
        gameModel = game;
  }
  public void humanMoves(Movement move)throws MovementNotAllowedException{ 
      gameModel.humanMoves(move);
  }
  public void aiMove()throws MovementNotAllowedException{
      gameModel.aiMove();
  }
  public Difficulty getCurrentDifficulty(){
      return gameModel.getDifficulty();
  }
  public void setDifficulty(Difficulty difficulty){
      gameModel.setDifficulty(difficulty);
  }

  
  
    
}
